home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / ODF-Interest Archive / May 96 / Re Why can't I debug my ODF pa < prev    next >
Encoding:
Internet Message Format  |  1996-12-03  |  1.7 KB  |  [TEXT/ttxt]

  1. Subject:     Re: Why can't I debug my ODF part?
  2. Sent:        5/24/96 5:16 PM
  3. Received:    5/24/96 5:26 PM
  4. From:        Henri Lamiraux, lamiraux@apple.com
  5. Reply-To:    ODF Interest, ODF-Interest@CILabs.ORG
  6. To:          OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
  7.  
  8. >I created an ODF part with PartMaker.  It is based on the hello part, and
  9. >I'm using the DR5 release of OpenDoc that I got at WWDC.  I follow all the
  10. >directions that were given in DR4 for debugging a part (couldn't find any
  11. >on DR5), but the debugger never stops at my breakpoints.  I'm using
  12. >Metrowerks CW 8.  I was debugging just fine with DR4 and non ODF
  13. >parts.  
  14. >Does anyone have any ideas what might be going wrong?
  15. >
  16. >Thanks,
  17. >Walter
  18.  
  19.  
  20. There is nothing special about debugging ODF parts vs non-ODF parts. We 
  21. had the same kind of problems at one point with some versions of the 
  22. debugger and metronub under CW8 but Metrowerks has been putting patches 
  23. which fixed them a while ago. I don't know what to tell you. Do you have 
  24. the latest patches from metrowerks? where do you but your breakpoints? A 
  25. good place is in C<YourPart>::Initialize. Try also to press the command 
  26. key while lauching your part, you will get a debugStr in 
  27. ODF_LIBRARY_CFMINIT and then in ODFCFMINIT. ODF has some code in the 
  28. debug build testing the command key in the CFM init routine. That should 
  29. target correctly your shared library.
  30.  
  31.  
  32.  
  33. .......................................................................
  34.  Henri Lamiraux                                      lamiraux@apple.com
  35.  Apple Computer, Inc.                 OpenDoc(tm) Development Framework
  36. .......................................................................
  37.  
  38.